home *** CD-ROM | disk | FTP | other *** search
- echo off
- if %2x == x goto instruct
- echo This installs the Reliance Mailing List program and documentation
- echo to floppy disks. You'll need two blank, formatted floppy disks.
- echo It installs from the disk in drive %1: to disks in drive %2:.
- echo
- echo If this is NOT what you wish to do, press the Ctrl key and the C key
- echo at the same time, and then type Y. Otherwise
- pause
- echo
- echo OK, here we go. If you see error messages, enter %0 with
- echo no other parameters to see instructions and then try again.
- echo
- echo First we'll copy the program to a diskette in drive %2:.
- echo Put a blank diskette in drive %2:.
- pause
- echo
- echo Extracting the program from the archive file . . .
- %1:arce %1:mail24 *.exe %2:\ /r
- if errorlevel 1 goto badarce
- %1:arce %1:mail24 *.bat %2:\ /r
- if errorlevel 1 goto badarce
- if not exist %1:\register\nul goto noreg
- echo
- echo Copying Registered User programs . . .
- copy %1:\register\*.* %2:\
- :noreg
- echo
- echo Next we'll copy the manual to a diskette in drive %2:.
- echo Remove the diskette from drive %2:.
- echo Put another blank diskette in drive %2:.
- pause
- echo
- echo Extracting the documentation from the archive file . . .
- %1:arce %1:mail24 *.doc %2:\ /r
- if errorlevel 1 goto badarce
- goto goodarce
- :badarce
- echo
- echo ERROR -- ARCHIVE EXTRACTION FAILED
- echo Enter %0 to see instructions and then try again.
- goto end
- :goodarce
- echo
- echo Installation complete. The program is on the first floppy disk,
- echo and the manual is on the second. Read the manual, MAIL240.DOC.
- goto end
- :instruct
- echo
- echo Oops -- you must enter two letters after %0. Type letters only,
- echo no colons, and separate %0 and the letters with spaces.
- echo The first letter is the floppy disk drive you are installing FROM.
- echo The second letter is the floppy disk you are installing TO.
- echo For instance, to install from drive A: to drive B:, Enter:
- echo
- echo %0 A B
- :end
-